<template>
  <Router-view></Router-view>
</template>

<script setup>
import { useUserStore } from '@/store'

const userStore = useUserStore()

if(userStore.token){
  userStore.getUserInfo()
}
</script>